package com.my;

import org.springframework.stereotype.Component;

@Component("com.my.UserService")
public class ConcreteUserService implements UserService {
    @Override
    public User queryById(Integer id) {
        return User.builder()
                .age(99)
                .name("张三")
                .build();
    }
}
